#ifndef PURCHASR_H
#define PURCHASR_H
#include<iostream>
#include<string>
using namespace std;

class purchaseRecord
{
public:
    purchaseRecord(string nameOfuser,string nameOfBook,string purchaseTime,double cost,string advise);
    ~purchaseRecord(){}
    friend ostream& operator<<(ostream& out,purchaseRecord &p);
    void shouPurchaseRecord();

    string m_nameOfuser;
    string m_nameOfBook;
    string m_purchaseTime;
    double m_cost;
    string m_advise;

};//class purchaseRecord
#endif